package co.gov.medellin.ssti.sub.model.dao.rowmapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import co.gov.medellin.ssti.sub.model.vo.AreaVO;

public class AreaVORowMapper implements RowMapper<AreaVO> {

	public AreaVO mapRow(ResultSet rs, int arg1) throws SQLException {
		AreaVO areaVO = new AreaVO();
		areaVO.setCode(rs.getLong(1));
		areaVO.setNombre(rs.getString(2));
		areaVO.setNombresubarea(rs.getString(3));
		areaVO.setDescripcion(rs.getString(4));
		areaVO.setCodearea(rs.getString(5));
		return areaVO;
	}

}
